package com.ruoyi.statisticalCenter.mapper;

import java.util.List;
import com.ruoyi.statisticalCenter.domain.ScCashFlow;
import com.ruoyi.statisticalCenter.domain.vo.ScCashFlowVo;

/**
 * 现金流水Mapper接口
 *
 * @author pyx
 * @date 2024-02-27
 */
public interface ScCashFlowMapper
{
    /**
     * 查询现金流水
     *
     * @param id 现金流水主键
     * @return 现金流水
     */
    public ScCashFlow selectScCashFlowById(Long id);

    /**
     * 查询现金流水列表
     *
     * @param scCashFlowVo 现金流水
     * @return 现金流水集合
     */
    public List<ScCashFlow> selectScCashFlowList(ScCashFlowVo scCashFlowVo);

    /**
     * 新增现金流水
     *
     * @param scCashFlow 现金流水
     * @return 结果
     */
    public int insertScCashFlow(ScCashFlow scCashFlow);

    /**
     * 修改现金流水
     *
     * @param scCashFlow 现金流水
     * @return 结果
     */
    public int updateScCashFlow(ScCashFlow scCashFlow);

    /**
     * 删除现金流水
     *
     * @param id 现金流水主键
     * @return 结果
     */
    public int deleteScCashFlowById(Long id);


    /**
     * 批量删除现金流水
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScCashFlowByIds(String[] ids);
}
